package com.game;

import java.util.Vector;

public class Planet 
{
	private Vector<Screen> m_Screens;
	private int m_CurID;
	
	private int m_ID;
	private int m_BgRef;
	
	public Planet(int bgref)
	{
		m_ID = -1;
		m_CurID = 0;
		m_Screens = new Vector<Screen>();
		setBgRef(bgref);
	}
	
	public void AddScreen(Screen screen)
	{
		screen.setID(m_CurID);
		m_Screens.add(screen);
		m_CurID++;
	}

	public void setID(int m_ID) {
		this.m_ID = m_ID;
	}

	public int getID() {
		return m_ID;
	}

	public void setBgRef(int m_BgRef) {
		this.m_BgRef = m_BgRef;
	}

	public int getBgRef() {
		return m_BgRef;
	}
	
	public Vector<Screen> GetScreens()
	{
		return m_Screens;
	}
}
